// 带标签的模板字符串

const name = 'tom'
const gender = true

function myTagFunc(string,name,gender){
  return string[0]+name+string[1]+gender
}

const res = myTagFunc`hi,${name} is a ${gender}`